package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 物料批次出入罐
 * </p>
 *
 * @author Max
 * @since 2020-03-13
 */
public class LotTank extends Model<LotTank> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
    /**
     * 外键
     */
   @TableField("Z_ITEM_TANK_BO")
   private String zItemTankBo;
    /**
     * 站点
     */
   @TableField("SITE")
   private String site;
    /**
     * 物料批次
     */
   @TableField("LOT")
   private String lot;
    /**
     * 设备编号
     */
   @TableField("RESRCE")
   private String resrce;
    /**
     * 设备描述
     */
   @TableField("RESRCE_DESC")
   private String resrceDesc;
   /**
    * 物料
    */
   @TableField("ITEM")
   private String item;
   /**
    * 物料描述
    */
   @TableField("ITEM_DESC")
   private String itemDesc;
    /**
     * 罐子用途
     */
   @TableField("TANK_BY_USE")
   private String tankByUse;
    /**
     * 出入罐类型
     */
   @TableField("MOVE_TYPE")
   private String moveType;
    /**
     * 批次状态
     */
   @TableField("LOT_STATUS")
   private String lotStatus;
   /**
    * 入罐数量
    */
   @TableField("CHECKIN_QTY")
   private String checkinQty;
   /**
     * 进罐时间
     */
   @TableField("CHECKIN_TIME")
   private Date checkinTime;
    /**
     * 出罐时间
     */
   @TableField("CHECKOUT_TIME")
   private Date checkoutTime;
    /**
     * 创建日期
     */
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
    /**
     * 更新日期
     */
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getzItemTankBo() {
      return zItemTankBo;
   }

   public void setzItemTankBo(String zItemTankBo) {
      this.zItemTankBo = zItemTankBo;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getLot() {
      return lot;
   }

   public void setLot(String lot) {
      this.lot = lot;
   }

   public String getResrce() {
      return resrce;
   }

   public void setResrce(String resrce) {
      this.resrce = resrce;
   }

   public String getResrceDesc() {
      return resrceDesc;
   }

   public void setResrceDesc(String resrceDesc) {
      this.resrceDesc = resrceDesc;
   }

   public String getItem() {
      return item;
   }

   public void setItem(String item) {
      this.item = item;
   }

   public String getItemDesc() {
      return itemDesc;
   }

   public void setItemDesc(String itemDesc) {
      this.itemDesc = itemDesc;
   }

   public String getTankByUse() {
      return tankByUse;
   }

   public void setTankByUse(String tankByUse) {
      this.tankByUse = tankByUse;
   }

   public String getMoveType() {
      return moveType;
   }

   public void setMoveType(String moveType) {
      this.moveType = moveType;
   }

   public String getCheckinQty() {
      return checkinQty;
   }

   public void setCheckinQty(String checkinQty) {
      this.checkinQty = checkinQty;
   }

   public String getLotStatus() {
      return lotStatus;
   }

   public void setLotStatus(String lotStatus) {
      this.lotStatus = lotStatus;
   }

   public Date getCheckinTime() {
      return checkinTime;
   }

   public void setCheckinTime(Date checkinTime) {
      this.checkinTime = checkinTime;
   }

   public Date getCheckoutTime() {
      return checkoutTime;
   }

   public void setCheckoutTime(Date checkoutTime) {
      this.checkoutTime = checkoutTime;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String Z_ITEM_TANK_BO = "Z_ITEM_TANK_BO";

   public static final String SITE = "SITE";

   public static final String LOT = "LOT";

   public static final String RESRCE = "RESRCE";

   public static final String RESRCE_DESC = "RESRCE_DESC";

   public static final String TANK_BY_USE = "TANK_BY_USE";

   public static final String MOVE_TYPE = "MOVE_TYPE";

   public static final String LOT_STATUS = "LOT_STATUS";

   public static final String CHECKIN_TIME = "CHECKIN_TIME";

   public static final String CHECKOUT_TIME = "CHECKOUT_TIME";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "LotTank{" +
         "handle = " + handle +
         ", zItemTankBo = " + zItemTankBo +
         ", site = " + site +
         ", lot = " + lot +
         ", resrce = " + resrce +
         ", resrceDesc = " + resrceDesc +
         ", tankByUse = " + tankByUse +
         ", moveType = " + moveType +
         ", lotStatus = " + lotStatus +
         ", checkinTime = " + checkinTime +
         ", checkoutTime = " + checkoutTime +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}